package com.haixiaoke.saas.workOrder.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.common.annotation.Excel;
import com.haixiaoke.saas.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;


/**
 * 工单临时密码申请记录对象 biz_work_order_pwd_record
 *
 * @author qixi
 * @date 2024-10-10
 */
@Data
public class WorkOrderPwdRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    private Long recordId;


    /**
     * 工单id
     */
    @Excel(name = "工单id")
    private String workOrderId;

    /**
     * 工单类型(1.维修单,2.保洁单,3.看房单)
     */
    @Excel(name = "工单类型(1.维修单,2.保洁单,3.看房单)")
    private String workOrderType;

    /**
     * 房屋id
     */
    @Excel(name = "房屋id")
    private String houseId;

    /**
     * 房屋地址
     */
    @Excel(name = "房屋地址")
    private String premisesAddress;

    /**
     * 申请人id
     */
    @Excel(name = "申请人id")
    private Long reqUserId;

    /**
     * 申请人姓名
     */
    @Excel(name = "申请人姓名")
    private String reqUserName;

    /**
     * 申请人手机号
     */
    @Excel(name = "申请人手机号")
    private String reqPhone;

    /**
     * 密码开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "密码开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pwdStartTime;

    /**
     * 密码结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "密码结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pwdEndTime;

    /**
     * 密码状态: (0待审核 1同意 2拒绝)
     */
    @Excel(name = "密码状态: (0待审核 1同意 2拒绝)")
    private String pwdAuditState;


}
